#include <vector>
#include "Hash.cpp"

class Mode
{
public:
	Mode();
	~Mode();
	void addHash(char* ptrHashType);

private:
	vector<Hash*> vecHashlist;
};

Mode::Mode()
{
}

Mode::~Mode()
{
}

void Mode::addHash(char* ptrHashtype)
{
	//Use ENUM?
	if (ptrHashtype == "WPA")
	{
		Wpa* ptrWpa = new Wpa();
		vecHashlist.push_back (ptrWpa);
	}
	else if (ptrHashtype == "MD5")
	{
	}
	else if (ptrHashtype == "SHA1")
	{	
	}
	//else
		//Exception
}

class Master : public Mode
{
public:
	Master();
	~Master();


private:
	
};

Master::Master()
{
}

Master::~Master()
{
}


class Slave : public Mode
{
public:
	Slave();
	~Slave();
private:
};

Slave::Slave()
{
}
Slave::~Slave()
{
}


